class CreateGroupsThreads < ActiveRecord::Migration
  def self.up
    create_table :groups_threads do |t|
      t.integer :group_id
      t.integer :member_id
      t.text :content
      t.boolean :sticky
      t.boolean :noreply
      t.string :icon

      t.timestamps
    end
  end

  def self.down
    drop_table :groups_threads
  end
end
